Initialize p4est and t8code only if possible#1745
Merged
ranocha merged 3 commits intotrixi-framework:mainfrom Nov 21, 2023
Merged
Initialize p4est and t8code only if possible#1745ranocha merged 3 commits intotrixi-framework:mainfrom
ranocha merged 3 commits intotrixi-framework:mainfrom
Conversation
Contributor
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1745 +/- ##
==========================================
- Coverage 96.28% 96.27% -0.01%
==========================================
Files 428 428
Lines 34635 34639 +4
==========================================
+ Hits 33345 33347 +2
- Misses 1290 1292 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
ranocha
reviewed
Nov 20, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With trixi-framework/P4est.jl#93 and DLR-AMR/T8code.jl#40 it is now possible to load P4est.jl and T8code.jl if MPIPreferences are set, but no preferences for P4est.jl or T8code.jl, respectively. For Trixi.jl this means that using MPI with a custom MPI implementation is more convenient, when p4est and/or t8code is not needed, e.g., if one wants to run a simulation that uses a
TreeMeshsince no preferences for P4est.jl and T8code.jl need to be set. This PR also prepares #1706, which can be merged after this PR.